<?php

namespace app\system\model;

use app\system\model\Admin;
use app\system\model\business\Quotation;
use app\system\model\product\Category;
use app\system\model\User;
use think\Model;


class Product extends Model {
    /**
     * @var string 自动写入时间戳
     */
    protected $autoWriteTimestamp = false;

    public $append = [];

    public function hscode(){
        return $this->hasOne(HsCode::class, 'id', 'hs_code_id');
    }

    public function category(){
        return $this->hasOne(Category::class, 'id', 'category_id');
    }


}